package com.msmall.community.show.model;

import java.io.Serializable;
import java.util.Date;

import com.msmall.base.util.DateUtil;

/**
 * 秀场的辅助类
 */
public class ShowModel implements Serializable{

	private static final long serialVersionUID = -5328121536682884376L;

	private Long userid;
	
	private String username;
	
	private String nickname; //
	
	private String homeUrl; //个人首页
	
	private Short gender;
	
	private String avatar;
	
	private Integer vipLevel;
	
	private Integer levels;
	
	private Date birthday;
	
	private Integer travelVoteCount;
	
	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getHomeUrl() {
		return homeUrl;
	}

	public void setHomeUrl(String homeUrl) {
		this.homeUrl = homeUrl;
	}

	public Short getGender() {
		return gender;
	}

	public void setGender(Short gender) {
		this.gender = gender;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Integer getVipLevel() {
		return vipLevel;
	}

	public void setVipLevel(Integer vipLevel) {
		this.vipLevel = vipLevel;
	}

	public Integer getLevels() {
		return levels;
	}

	public void setLevels(Integer levels) {
		this.levels = levels;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Integer getAge() {
		return DateUtil.getAge(birthday);
	}

	public Integer getTravelVoteCount() {
		return travelVoteCount;
	}

	public void setTravelVoteCount(Integer travelVoteCount) {
		this.travelVoteCount = travelVoteCount;
	}
}
